package model

type Department struct {
	Id                 uint64  `json:"id" gorm:"column:id"`
	Name               string  `json:"name" gorm:"column:name"`
	TenantId           uint64  `json:"tenant_id" gorm:"column:tenant_id"`
	ParentId           uint64  `json:"parent_id" gorm:"column:parent_id"`
	StepCategoryIds    string  `json:"step_category_ids" gorm:"column:step_category_ids"`
	Created            int64   `json:"created" gorm:"column:created"`
	StepCategoryIdList []int64 `json:"-" gorm:"-"`
}

// 设置表名
func (Department) TableName() string {
	return "department"
}
